package evolution.operation.mutation;


public class UniformMutation extends AbstractMutation {

	@Override
	public double generateValue() {
		double rand = randomGenerator.nextDouble();
		double val = rand * (constraints.getMaxArg() - constraints.getMinArg())
				+ constraints.getMinArg();
		return val;
	}
}
